<template>
  <el-form ref="ProjectDail" :model="info" label-width="150px">
    <el-row>
      <el-col :span="4">
        <el-form-item label="项目封面" />
          <img v-if="info.imgList" style="width:200px; height:200px;" :src="info.imgList">
      </el-col>
      <el-col :span="10">
        <el-form-item label="项目id：" prop="id">
          {{info.id}}
        </el-form-item>
        <el-form-item label="项目名称：" prop="projectName">
          {{info.projectName}}
        </el-form-item>
        <el-form-item label="甲方：" prop="thirdName">
          {{info.thirdName}}
        </el-form-item>
        <el-form-item label="项目描述：" prop="projectDesc">
          {{info.projectDesc}}
        </el-form-item>
        <el-form-item label="项目地址：" prop="address">
          {{info.address}}
        </el-form-item>
        <el-form-item label="项目类型：" prop="isNormal">
          <span>{{ getDictDataLabel(DICT_TYPE.FI_PROJECT_TYPE, info.isNormal) }}</span>
        </el-form-item>
        <el-form-item label="项目状态：" prop="isFinish">
          <span>{{ getDictDataLabel(DICT_TYPE.FI_PROJECT_STATUS, info.isFinish) }}</span>
        </el-form-item>
        <el-form-item label="区域经理：" prop="areaManagerUid">
          {{info.areaManagerName}}
        </el-form-item>
        <el-form-item label="项目经理：" prop="projectLeaderUid">
          {{info.projectLeaderName}}
        </el-form-item>
        <el-form-item label="项目主管：" prop="directorUid">
          {{info.directorName}}
        </el-form-item>
        <el-form-item label="领班：" prop="captainUid">
          {{info.captainUid}}
        </el-form-item>
        <el-form-item label="创建人：" prop="creator">
          {{info.creator}}
        </el-form-item>
        <el-form-item label="创建时间：" prop="createTime">
          <span>{{ parseTime(info.createTime) }}</span>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>
<script>
import { getDictDataLabel, getDictDatas, DICT_TYPE } from '@/utils/dict';

export default {
  name: "ProjectDetail",
  props: {
    info: {
      type: Object,
      default: null
    }
  },
  data() {
    return {
      
    };
  }
};
</script>
